﻿@model BaseballGame.Models.Player

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Player</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.player_name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.player_name)
    </div>


    <div class="display-label">
         @Html.DisplayNameFor(model => model.at_bat)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.at_bat)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.hits)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.hits)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs_batted_in)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs_batted_in)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.home_runs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home_runs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.balls_on_balls)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.balls_on_balls)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.strike_outs)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.strike_outs)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.stolen_bases)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.stolen_bases)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.left_on_base)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.left_on_base)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.batting_avg)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.batting_avg)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.innings_pitched)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.innings_pitched)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.earned_runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.earned_runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.home_runs_allowed)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home_runs_allowed)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.walks_hit_by_ip)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.walks_hit_by_ip)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.earned_runs_average)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.earned_runs_average)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
